import React from 'react'
import './index.less'

export default props => {
  const { title, color, lineColor } = props
  return (
    <div className="sub-title-component">
      <p style={{color: color}}>{title}</p>
      <p className="smtitle">1000+原声绘本，分级阅读<span className="unlock" onClick={props.handleButtonClick}>立即解锁</span></p>
      {/* <span style={{background: lineColor}}></span> */}
    </div>
  )
}
